export const MyPlugin = {
    install(Vue,options) {
        Vue.prototype.successMessage = function (message) {
            window.MyVue.$notify({
                message,
                type: 'success'
            })
        },
        Vue.prototype.warningMessage= function (message) {
            window.MyVue.$notify({
                message,
                type: 'warning'
            })
        }
    }
}
